﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;


    public class OrderComparer : IComparer
    {
        public int Compare(object x, object y)
        {
            int dt1 = int.Parse(x.ToString());
            int dt2 = int.Parse(y.ToString());
            return dt1.CompareTo(dt2);
        }
    }

    public class Tag
    {
        private string _key;

        public string key
        {
           get;set;
     
        }
        private string _value;

        public string value
        {
           get;set;
    
        }

        public Tag(string nuevoKey, string nuevoValue)
        {
            key = nuevoKey;
            value = nuevoValue;
        }
    }

    public class JsonRequest
    {
        


        private bool _Sucess;

        public bool Sucess
        {
           get;set;

        }
        
        private string _Mensaje="";

        public string ProcessErrorMessage
        {
           get;set;
     
        }

        private object _Objeto;

        public object ProcessedObject
        {
           get;set;

        }

    }

